package com.atguigu.controller;

import com.atguigu.service.UserService;
import com.atguigu.service.impl.UserServiceNewImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;

/**
 * @version 1.0
 * @Author 马冰
 * @Date 2024/12/17 19:17
 * @注释
 */
@Controller
public class UserController {

    @Autowired
    @Qualifier("userServiceNewImpl")
    private UserService userService;


    public void saveUser() {
        userService.saveUser();
    }
}
